package com.runtime.area.mapper;

import com.runtime.bean.Tblarea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface AreaMapper {
    @Select("select * from tblarea")
    List<Tblarea> findAll();

    @Select("select * from tblarea where areaId=#{areaId}")
    Tblarea findById(long areaId);
}
